<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%-- <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> --%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<%-- <base href = "<%=basePath%>"> --%>
<title>用户登录</title>
</head>
<body>
	<div style="text-align: center;">
		<span style="font-size:26px;">用户登录</span>
		<hr>
		<!-- 提交给servlet处理 -->
		<form action="<%=request.getContextPath()%>/login" method="post">
			用户名：<input type="text" name="username" /><br>
			用户密码：<input type="password" name="password" /><br>
			<input type="submit" value="提交" />
			<input type="reset" value="重置" />
		</form>
	</div>
</body>
</html>